package com.jiexin.controller;

import com.jiexin.service.ReadXmlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: Jay
 * @Description: 页面的扩展类
 * @Date:
 * @Modified By:
 */
@Controller
@RequestMapping(value = "/adaptor")
public class AdaptorController {

    @Autowired
    private ReadXmlService readXmlService;

    @ResponseBody
    @RequestMapping(value = "/findPid")
    public int addUser(){
        return readXmlService.findPid();
    }
}
